package bityjavase;
class date {
    public int year;
    public int month;
    public int day;
    public void setDay(int y,int m,int d)
    {
        this.year = y;
        this.month = m;
        this.day = d;
    }
    public void printDate(){
        System.out.println(year+"/"+month+"/"+day);
    }

    public static void main(String[] args) {
        date d1 = new date();
        date d2 = new date();
        d1.setDay(2455,8,9);
        d2.setDay(2024,11,6);
        d1.printDate();
        d2.printDate();
    }
}